package com.systop.payment.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.systop.common.utils.PageUtils;
import com.systop.common.utils.Query;

import com.systop.payment.dao.PaytypeDao;
import com.systop.payment.entity.PaytypeEntity;
import com.systop.payment.service.PaytypeService;


@Service("paytypeService")
public class PaytypeServiceImpl extends ServiceImpl<PaytypeDao, PaytypeEntity> implements PaytypeService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<PaytypeEntity> page = this.page(
                new Query<PaytypeEntity>().getPage(params),
                new QueryWrapper<PaytypeEntity>()
        );

        return new PageUtils(page);
    }

}